package com.ruoyi.dora.portal;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @author lvzihai
 * @date 2021/7/21
 **/
@SpringBootApplication
@EnableRedisHttpSession
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.ruoyi.dora.portal.clients")
@MapperScan("com.ruoyi.dora.portal.mapper")
public class PortalWebApplication {

  public static void main (String[] args) {
    SpringApplication.run(PortalWebApplication.class,args);
  }

}
